package com.book.service;

import com.book.entity.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by 落叶的思恋 on 2017/6/10.
 */
public interface BookInfoService {
    int insert(Book record);

    List<Book> select();

    int updateByPrimaryKey(Book record);

    int delete(Integer bookId);


    List<Book> selectsearch( String search);
    Book selectByPrimaryKey(Integer bookId);
}